#include "shm.hpp"

int main()
{
    Shm shm(pathname, proc_id, user);
    shm.Zero();
    char *shmaddr = (char *)shm.Addr();

    char ch = 'A';
    while (ch <= 'Z')
    {
        shmaddr[ch - 'A'] = ch;
        std::cout << "client write " << ch << std::endl;
        sleep(2);
        ch++;
    }
    return 0;
}